<?php
    require_once ( "config.php" );
    
    echo 'test php...';
    phpinfo();
    
    echo 'test memcached...';
    $m = new_memcached();
    $m->get_obj()->set('username', 'Allen', 10);
    var_dump($m->get_obj()->get('username'));
    
    echo 'test ip...';
    echo 'ip = ' . get_ip();
    
        /*
    echo 'test mysql...';
    $db = new_mysql();
    if (!$db->connect()) {
        echo "connect to mysqld failed!";
    }
	*/